package io;

import java.util.List;
import java.util.Scanner;

import Data.wrongWordsData;


public class suggestedListIO {
	private int counter=1;
	public void io(String wrongWord,List<String> SuggestedList){
		System.out.print(wrongWord + ": [");
		for(String suggestedWord: SuggestedList){
			System.out.print(counter + "." + suggestedWord + " ");
			counter++;
		}
		System.out.println("]");
	}
	
	public void menu(int[] choice){
		System.out.println("Please input your choices from every line above: ");
		Scanner input=new Scanner(System.in);

		for(int i=0; i<wrongWordsData.getWrongWordNumber(); i++){
			choice[i]=input.nextInt()-1;

		}
	}
}
